package com.mrjy.maintain.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import com.mrjy.common.entity.PromoteDetail;
/**
 * 推广明细 DTO类
 * @author csshui
 *
 */
public class PromoteDetailDTO extends PromoteDetail implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -576153600851938713L;
		
		
		/**
		 * 注册时间
		 */
		private String registerDateString;
		
		/**
		 * 付费完成时间
		 */
		private String completeTimeString;
		
		/**
		 * 推广者
		 */
		private String recommendName;
		/**
		 * 推广者手机号码
		 */
		private String recommendMobilePhone;
		/**
		 * 扫码时间
		 */
		private String scanCodeTimeString;
		//查询付款时间 开始
		private String startTime;
		//查询付款时间 结束
		private String endTime;
		
		private Long calDay; //计算的天数，最初需求是要求7天
		private Long calYear; //计算的年数，最初需求是要求1年内，某合作方5年
		//付费总次数
		private int totalPayment;
		//付费总人数
		private int totalPayUser;
		//付费总金额
		private BigDecimal totalMoney;
		//未结算金额(分成的)
		private BigDecimal totalNotSettleMoney;
		//已结算金额(分成的)
		private BigDecimal totalSettledMoney;
		//分成总收益
		private BigDecimal totalDivideMoney;
		//分销商队员的真实姓名
		private String realName;
		//分销商id
		private Integer distributorId;
		//分销商团队队员是否过期(0:不过期 ； 1： 过期)
		private Integer isExpired;
		
		//推广者类型(0:全部；1：合作方；2：分销商;3.服务站;4.讲师;5.明师;6.家人)  ps:用于后台数据查询
		private String promotorTypeId;
		
		//后台查询分销商时，分销商的userId
		
		//推广者是否为长期有效的(0:否，1是) --用于前台查询各个推广者团队信息时使用
		private String isLongTermExpire;
		
		//后台查询使用，用于查询，代表合作方id，服务站id，分销商id，讲师id，明师id，家人id
		private List<Integer> promotorIds;
		
		private int totalPromoter; //总推广者
		
		private int totalPromote; //总推广次数
		
		private Integer totalFirstPromote; //一级推广人数
		private Integer totalSecondPromote; //一级推广人数
		
		private Integer firstPromoterId; //一级推广人id
		
		private Integer isTeamMember; //是否是团队成员 0-不是  1-是
		
		private BigDecimal myTotalDivideMoney; //我（团队负责人）从团队中获得的收益
		
		private Double mySharingProportion; //我（团队负责人）对团队成员的分成比例 （我的分成比例-给团队成员自定义的）
		
		private String code;//支付订单号
		
		private String settleDesc;
		private String settleTimeString;
		
		private String isSpecial; //是否特价  0-否 1-是
		private Integer membershipFlag; // 是否Vip  0-否 1-是
		private String firstPromoterName;
		private String secondPromoterName;
		private Integer firstVipCount; //1级推广人数中vip人数
		private Integer secondVipCount;//2级推广人数中vip人数

		public int getTotalPromoter() {
			return totalPromoter;
		}

		public void setTotalPromoter(int totalPromoter) {
			this.totalPromoter = totalPromoter;
		}

		public int getTotalPromote() {
			return totalPromote;
		}

		public void setTotalPromote(int totalPromote) {
			this.totalPromote = totalPromote;
		}

		public String getRegisterDateString() {
			return registerDateString;
		}

		public void setRegisterDateString(String registerDateString) {
			this.registerDateString = registerDateString;
		}

		public String getCompleteTimeString() {
			return completeTimeString;
		}

		public void setCompleteTimeString(String completeTimeString) {
			this.completeTimeString = completeTimeString;
		}

		public String getRecommendName() {
			return recommendName;
		}

		public void setRecommendName(String recommendName) {
			this.recommendName = recommendName;
		}

		public String getScanCodeTimeString() {
			return scanCodeTimeString;
		}

		public void setScanCodeTimeString(String scanCodeTimeString) {
			this.scanCodeTimeString = scanCodeTimeString;
		}

		public String getStartTime() {
			return startTime;
		}

		public void setStartTime(String startTime) {
			this.startTime = startTime;
		}

		public String getEndTime() {
			return endTime;
		}

		public void setEndTime(String endTime) {
			this.endTime = endTime;
		}

		public Long getCalDay() {
			return calDay;
		}

		public void setCalDay(Long calDay) {
			this.calDay = calDay;
		}

		public Long getCalYear() {
			return calYear;
		}

		public void setCalYear(Long calYear) {
			this.calYear = calYear;
		}

		public int getTotalPayment() {
			return totalPayment;
		}

		public void setTotalPayment(int totalPayment) {
			this.totalPayment = totalPayment;
		}

		public int getTotalPayUser() {
			return totalPayUser;
		}

		public void setTotalPayUser(int totalPayUser) {
			this.totalPayUser = totalPayUser;
		}

		public BigDecimal getTotalMoney() {
			return totalMoney;
		}

		public void setTotalMoney(BigDecimal totalMoney) {
			this.totalMoney = totalMoney;
		}


		public BigDecimal getTotalNotSettleMoney() {
			return totalNotSettleMoney;
		}

		public void setTotalNotSettleMoney(BigDecimal totalNotSettleMoney) {
			this.totalNotSettleMoney = totalNotSettleMoney;
		}

		public BigDecimal getTotalSettledMoney() {
			return totalSettledMoney;
		}

		public void setTotalSettledMoney(BigDecimal totalSettledMoney) {
			this.totalSettledMoney = totalSettledMoney;
		}

		public String getRealName() {
			return realName;
		}

		public void setRealName(String realName) {
			this.realName = realName;
		}

		public String getRecommendMobilePhone() {
			return recommendMobilePhone;
		}

		public void setRecommendMobilePhone(String recommendMobilePhone) {
			this.recommendMobilePhone = recommendMobilePhone;
		}

		public Integer getDistributorId() {
			return distributorId;
		}

		public void setDistributorId(Integer distributorId) {
			this.distributorId = distributorId;
		}

		public BigDecimal getTotalDivideMoney() {
			return totalDivideMoney;
		}

		public void setTotalDivideMoney(BigDecimal totalDivideMoney) {
			this.totalDivideMoney = totalDivideMoney;
		}

		public Integer getIsExpired() {
			return isExpired;
		}

		public void setIsExpired(Integer isExpired) {
			this.isExpired = isExpired;
		}

		public String getPromotorTypeId() {
			return promotorTypeId;
		}

		public void setPromotorTypeId(String promotorTypeId) {
			this.promotorTypeId = promotorTypeId;
		}

		public String getIsLongTermExpire() {
			return isLongTermExpire;
		}

		public void setIsLongTermExpire(String isLongTermExpire) {
			this.isLongTermExpire = isLongTermExpire;
		}

		public List<Integer> getPromotorIds() {
			return promotorIds;
		}

		public void setPromotorIds(List<Integer> promotorIds) {
			this.promotorIds = promotorIds;
		}

		public Integer getTotalFirstPromote() {
			return totalFirstPromote;
		}

		public void setTotalFirstPromote(Integer totalFirstPromote) {
			this.totalFirstPromote = totalFirstPromote;
		}

		public Integer getTotalSecondPromote() {
			return totalSecondPromote;
		}

		public void setTotalSecondPromote(Integer totalSecondPromote) {
			this.totalSecondPromote = totalSecondPromote;
		}

		public Integer getFirstPromoterId() {
			return firstPromoterId;
		}

		public void setFirstPromoterId(Integer firstPromoterId) {
			this.firstPromoterId = firstPromoterId;
		}

		public Integer getIsTeamMember() {
			return isTeamMember;
		}

		public void setIsTeamMember(Integer isTeamMember) {
			this.isTeamMember = isTeamMember;
		}

		public BigDecimal getMyTotalDivideMoney() {
			return myTotalDivideMoney;
		}

		public void setMyTotalDivideMoney(BigDecimal myTotalDivideMoney) {
			this.myTotalDivideMoney = myTotalDivideMoney;
		}

		public Double getMySharingProportion() {
			return mySharingProportion;
		}

		public void setMySharingProportion(Double mySharingProportion) {
			this.mySharingProportion = mySharingProportion;
		}

		public String getCode() {
			return code;
		}

		public void setCode(String code) {
			this.code = code;
		}

		public String getSettleDesc() {
			return settleDesc;
		}

		public void setSettleDesc(String settleDesc) {
			this.settleDesc = settleDesc;
		}

		public String getSettleTime() {
			return settleTimeString;
		}

		public void setSettleTime(String settleTimeString) {
			this.settleTimeString = settleTimeString;
		}

		public String getIsSpecial() {
			return isSpecial;
		}

		public void setIsSpecial(String isSpecial) {
			this.isSpecial = isSpecial;
		}

		public Integer getMembershipFlag() {
			return membershipFlag;
		}

		public void setMembershipFlag(Integer membershipFlag) {
			this.membershipFlag = membershipFlag;
		}

		public String getFirstPromoterName() {
			return firstPromoterName;
		}

		public void setFirstPromoterName(String firstPromoterName) {
			this.firstPromoterName = firstPromoterName;
		}

		public String getSecondPromoterName() {
			return secondPromoterName;
		}

		public void setSecondPromoterName(String secondPromoterName) {
			this.secondPromoterName = secondPromoterName;
		}

		public Integer getFirstVipCount() {
			return firstVipCount;
		}

		public void setFirstVipCount(Integer firstVipCount) {
			this.firstVipCount = firstVipCount;
		}

		public Integer getSecondVipCount() {
			return secondVipCount;
		}

		public void setSecondVipCount(Integer secondVipCount) {
			this.secondVipCount = secondVipCount;
		}
		
}
